home *** CD-ROM | disk | FTP | other *** search
/ Micromanía: 150 Juegos 2010 / 150Juegos_16.iso / Shareware / Shape Smash / shape-smash.swf / scripts / mx / core / FlexTextField.as < prev    next >
Encoding:
Text File  |  2010-05-14  |  607 b   |  31 lines

  1. package mx.core
  2. {
  3.    import flash.text.TextField;
  4.    import mx.utils.NameUtil;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class FlexTextField extends TextField
  9.    {
  10.       mx_internal static const VERSION:String = "2.0.1.0";
  11.       
  12.       public function FlexTextField()
  13.       {
  14.          super();
  15.          try
  16.          {
  17.             name = NameUtil.createUniqueName(this);
  18.          }
  19.          catch(e:Error)
  20.          {
  21.          }
  22.       }
  23.       
  24.       override public function toString() : String
  25.       {
  26.          return NameUtil.displayObjectToString(this);
  27.       }
  28.    }
  29. }
  30.  
  31.